package com.itheima.mysream;

import java.io.FileWriter;
import java.io.IOException;

public class StreamDemo5 {
    public static void main(String[] args) throws IOException {
        //创建对象
//        FileWriter fw = new FileWriter("myio.\\a.txt");
//        fw.write("hehe");
//        fw.write("hehe");
//
//        fw.flush();
//
//        fw.write("avc");
//        fw.write("hehe");

        //进流的关闭
        //fw.close();
    }
}
